package panda.query.scan;

import panda.query.struct.Attribute;
import panda.query.struct.Constant;
import panda.record.TupleToken;

/**
 * 
 * @author Tian Yuan
 */
public interface UpdatableScanner extends Scanner {
	
	/**
	 * 
	 */
	public void insert();
	
	/**
	 * 
	 */
	public void delete();
	
	/**
	 * 
	 */
	public void setValue(Attribute attr, Constant value);
	
	/**
	 * 
	 * @return
	 */
	public TupleToken getCursor();
	
	/**
	 * 
	 * @param t
	 */
	public void setCursor(TupleToken t);
	
}
